package com.smarthome.core.kuaidiXiyi;

import java.util.List;

import com.smarthome.domain.bean.ShOrderLaundryFee;
import com.smarthome.domain.bean.ShOrders;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;
import com.smarthome.domain.vo.boss.TaskMessageVo;

/**
 * 洗衣服务server类
 * @author szc
 *
 */
public interface XiyiOrderService {

    /**
     * 得到代洗下单列表--分页
     * @param ShOrders
     * @param page
     * @author shazhichao
     * @return
     */
    DataGrid dataGrid(ShOrders shOrders, PageHelper page);

    
    /**
     * 新增
     * @param shOrders
     * @author shazhichao
     */
    void add(ShOrders shOrders);

    /**
     * 通过主键id，得到对象
     * @author shazhichao
     * @param id
     * @return
     */
    ShOrders queryShOrdersById(Long id);

    /**
     * 更改
     * @param
     */
    void edit(ShOrders shOrders);


    /**
     * 得到列表
     * @param shOrders
     * @author shazhichao
     * @return
     */
    List<ShOrders> queryShOrdersList(ShOrders shOrders);

    
    /**
     * 提醒
     * @param residenceId
     * @return
     */
	TaskMessageVo getTaskMessage(Long residenceId) throws Exception;//,ShOrders shOrders
	
	/**
	 * 
	* @Title: saveOrUpdateOrderFee 
	* @Description: 保存洗衣订单费用
	* @param list
	* @param orderId
	* @return
	* Integer
	* @throws 
	* @author cyj
	 */
	Integer saveOrUpdateOrderFee(Long orderId,List<ShOrderLaundryFee> list);
	
	/**
	 * 
	* @Title: getOrderFeeList 
	* @Description: 获取洗衣店费用 
	* @param orderId
	* @return
	* List<ShOrderLaundryFee>
	* @throws 
	* @author cyj
	 */
	List<ShOrderLaundryFee> getOrderFeeList(Long orderId);
}
